import 'dart:convert';

import 'package:http/http.dart' as http;

class ResponseParser {
  static Map<String, dynamic> parseJsonBody(
    http.Response response,
  ) =>
      jsonDecode(
        utf8.decode(response.bodyBytes),
      ) as Map<String, dynamic>;
}
